package com.nuanshui.heatedloan.credit.mongodb;

import com.nuanshui.heatedloan.middleware.mongodb.BaseUserRecordRepository;
import org.springframework.data.repository.NoRepositoryBean;

import java.util.List;

/**
 * Created by wangxw on 2017/8/6.
 */
@NoRepositoryBean
public interface BaseWhiteListRecordRepository<T> extends BaseUserRecordRepository<T> {

    List<T> findByPhone(String phone);

}
